package com.pope.framework.ambulance.modular.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.Length;

/**
 * <p>
 * 救护车管理
 * </p>
 *
 * @author superpope
 * @since 2019-01-18
 */
@ApiModel(description= "救护车信息表")
@Data
public class AmbulanceInfoDto implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 车牌号
     */
    @ApiModelProperty(value = "救护车车牌号",dataType="String",required=true)
    @NotBlank(message="救护车车牌号不能为空")
    @Length(max=40,message="分诊来时分级ID最大长度为40")
    private String plateNumber;

    /**
     * 到院时间(分钟)
     */
    @ApiModelProperty(value = "还有几分钟到院",dataType="Integer",required=true)
    @NotNull(message="还有几分钟到院不能为空")
    @Max(value=100000,message="还有几分钟到院最大输入数值为100000")
    private Integer comingTime;

    /**
     * 到院状态1未到院2已到院
     */
    @NotBlank(message="到院状态不能为空")
    @Length(max=4,message="到院状态最大长度为4")
    @ApiModelProperty(value = "到院状态1未到院2已到院",dataType="String",required=true)
    private String comingState;
    
    @NotNull(message="医院ID不能为空")
    @ApiModelProperty(value = "医院ID",dataType="Integer",required=true)
    private Integer hospitalId;

}
